package com.multids.controller;

import com.multids.service.DictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @Autowired
    DictService dictService;

    @RequestMapping("dict")
    public String dict(){
        dictService.dicts();
        return "success";
    }

    @RequestMapping("trant")
    public String testTrant(){
        dictService.testTranst();
        return "success";
    }

}
